Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [AXM-791] fix error 404 handling and optimize for not modified b… #2582

Conversation

NiedielnitsevIvan
Copy link

Description:

  • fix error 404 handling
  • optimize task calling for not modified blocks

Youtrack:

  • AXM-791 [pop-up_10subsection] The Confirmation download pop-up does not show the newly added subsections in the course.

generate_offline_content_for_block.apply_async([block_id, html_data])
is_not_closed = not hasattr(xblock, 'closed') or not xblock.closed()
if is_not_closed and is_modified(xblock):
generate_offline_content_for_block.apply_async([str(xblock.location)])


@shared_task(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we don't need retry for generic Exception?

@NiedielnitsevIvan NiedielnitsevIvan force-pushed the NiedielnitsevIvan/AXM-791/fix/The-Confirmation-download-pop-up-does-not-show-the-newly-added-subsections-in-the-course branch from 378e594 to 5210d22 Compare June 21, 2024 07:14
@NiedielnitsevIvan NiedielnitsevIvan merged commit 3e076fc into mob-develop Jun 21, 2024
43 checks passed
@NiedielnitsevIvan NiedielnitsevIvan deleted the NiedielnitsevIvan/AXM-791/fix/The-Confirmation-download-pop-up-does-not-show-the-newly-added-subsections-in-the-course branch June 21, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants